package com.zhuanzhuan.hero.user.vo.label;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @ClassName CertificationQualifiedVO
 * @Description
 * @Author hanjunjun
 * @Date 2024/7/19 15:16
 */
@Data
@AllArgsConstructor
public class CertificationQualifiedVO {

    private Boolean hasQualified;

    /**
     * 没有资格时的文案
     */
    private String tips;

    public static CertificationQualifiedVO fail(String tips) {
        return new CertificationQualifiedVO(false, tips);
    }

    public static CertificationQualifiedVO success() {
        return new CertificationQualifiedVO(true, "");
    }
}
